package com.framework.dao.YHBDao.user;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.framework.yhbEntity.user.YhbCusTer;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface YhbCusTerDao extends BaseMapper<YhbCusTer> {

    /**
     * 根据sn查询信息
     * @param sn
     * @return
     */
    Map<String, Object> queryInfoBySn(@Param("sn") String sn);

    /**
     * 查询用户count
     * @param params
     * @return
     */
    Integer queryCustomerCount(Map<String, Object> params);

    /**
     * 列表
     * @param params
     * @return
     */
    List<Map<String, Object>> queryCustomerlist(Map<String, Object> params);
}
